﻿using SqlSugar;

namespace B.S.ProductionProject.Domain
{
    /// <summary>
    /// 生产计划
    /// </summary>
    public class ProductionPlanning
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ProductionPlanningId { get; set; }
        /// <summary>
        /// 单据主题
        /// </summary>
        public string DocumentSubject { get; set; }
        /// <summary>                       
        /// 单据编号
        /// </summary>
        public string DocumentNo { get; set; }
        /// <summary>
        /// 关联项目编号
        /// </summary>
        public string AssociatedItemNumber { get; set; }
        /// <summary>
        /// 自动生成订单
        /// </summary>
        public bool AutomaticOrderGeneration { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string DocumentMaker { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime DocumentationDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 订单主键
        /// </summary>
        public int OrdersId { get; set; }
        /// <summary>
        /// 删除
        /// </summary>
        public bool isDelete { get; set; }
    }
}
